#!/bin/sh

if [ -n "`/opt/bin/pidof tinyproxy`" ] ; then
    /opt/bin/killall tinyproxy 2>/dev/null
fi

sleep 2
/opt/sbin/tinyproxy
